isFocusedByDefault

Returns whether view should receive focus when the focus is restored for the view hierarchy containing it. Returns false on API <26.

Focus gets restored for a view hierarchy when the root of the hierarchy gets added to a window or serves as a target of cluster navigation.

Return

true if view is the default-focus view, false otherwise.

Parameters

view

view for which to check the state.